ucd-cws / PISCES

Software for tracking and analyzing fish species range data
Other
0 stars 2 forks source link

Weird import issues #192

Open nickrsan opened 6 years ago

nickrsan commented 6 years ago

Original report by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


So, in ArcMap and in the REPL, PISCES loads fine, but in a standalone script, there are failures that seem related to either circular or relative imports, especially in the subpackages like input filters (where it can't load funcs, local_vars, etc).

This should be investigated further - is it due to how PISCES changes the working directory? Or its module sctructure? Why can't subpackages load a module from the parent package? And only when running in a standalone script?