Mirror-Knight

Results 8 comments of Mirror-Knight

I tried that and I'm still getting the same error. Specifically I am seeing the following ```console (base) [luh60@astro ~]$ export TANGOS_PROPERTY_MODULES=testproperty (base) [luh60@astro ~]$ tangos write mypropertyp 2021-01-28 21:51:58,907...

I get the following ```Console (base) [luh60@astro ~]$ tangos list-possible-properties name | handler | property class -------------------------------+-----------------+------------------------------------------------------------- BH_central_distance | PynbodyInputHan | tangos.properties.pynbody.BH.BH BH_central_offset | PynbodyInputHan | tangos.properties.pynbody.BH.BH BH_mass | PynbodyInputHan...

Yes I have the file `testproperty.py` in my home directory which contains `myproperty`. In my home directory I run `tangos write myproperty` Is tangos having issues finding `myproperty` somehow?

I found the issue with `myproperty` - I had forgotten to set the environment variable. `myproperty` can be written and it shows up when I run `tangos list-possible-properties`. Unfortunately I...

Ive renamed `mypropertyp` to `veldisp` but the issue is that if I try to run `tangos write veldisp` I get the NameError. Below is what I get ```console (base) [luh60@astro...

Below is the file `veldisp.py` - this produces the NameError when I try to either run `tangos write veldisp` ```console from tangos.properties.pynbody import PynbodyPropertyCalculation import numpy as np class ExampleHaloProperty(PynbodyPropertyCalculation):...

Not yet. I'm suspecting the issue to be with the server I'm working on, considering its working on your end but not my end. I fully reinstalled anaconda, tangos and...

I believe I've found a a makeshift solution. If I navigate to `~/anaconda3/lib/python3.8/site-packages/tangos/properties/pynbody`, I can drop my property.py file directly into there and then add the file name to __init__.py....