Andrew Pontzen
Andrew Pontzen
Yes, this confirms that tangos isn't importing your module. That's why you can't get tangos write to work either. Is the module definitely somewhere python can see it, eg in...
Yes. To be sure you could try putting a print statement in myproperty.py so you can easily see if/when it gets found. I don't think tangos is finding it.
Are you saying `tangos list-possible-properties` shows `myproperty` but not `mypropertyp`? If that's the case, somehow your class for `mypropertyp` is just not showing up to tangos. Perhaps post the full...
I'm afraid I don't understand that test and what you were hoping it to show. Please just post the code. If tangos is definitely importing the module but can't see...
Thanks! I don't see any problem with this and I was able to make it work: ``` $ cat > veldisp.py from tangos.properties.pynbody import PynbodyPropertyCalculation import numpy as np class...
@Mirror-Knight did you manage to solve this issue?
Great - but that definitely shouldn't be necessary. It would be good if you find out where things are going wrong, but without direct access to your system I don't...
Thanks Ben! But doesn't python always pick up modules in the current working directory? (Source: https://docs.python.org/3/tutorial/modules.html#the-module-search-path) This is how it seems to behave for me. I'm confused...
Oh dear! Any ideas why?
Thanks, #227 implements this and also deals with a failing unit test on recent versions of numpy (I hope, awaiting the CI results)