melodic-train-1526
02/14/2022, 4:56 PMflow_type_1
flow_1
flow_specific_utils
flow_type_2
flow_2
flow_specific_utils
utils
general_util
If I have a batch step I know I can import in functions from the flow_specific_utils
in flow_1
or flow_2
and if I have a non-batch step I can alter the python path to allow me to access functions in general_util
but is there any way to access these functions in general_util
from a batch step?straight-shampoo-11124
02/14/2022, 5:39 PMflow_1
and flow_2
at the top leveluser
02/14/2022, 5:42 PMstraight-shampoo-11124
02/14/2022, 5:45 PMmelodic-train-1526
02/15/2022, 10:08 PMmelodic-train-1526
02/15/2022, 10:08 PMstraight-shampoo-11124
02/15/2022, 10:22 PMutils
from each flow_type_1
etc?melodic-train-1526
02/15/2022, 10:27 PMstraight-shampoo-11124
02/15/2022, 10:27 PMmelodic-train-1526
02/16/2022, 3:18 PMstraight-shampoo-11124
02/16/2022, 4:00 PMstraight-shampoo-11124
02/17/2022, 3:07 AMflow_type_1
flow1.py
flow_specific_utils
common_utils -> ../common_utils
flow_type_2
flow2.py
flow_specific_utils
common_utils -> ../common_utils
common_utils
__init__.py
some_module.py
Prior to this release, you couldn't run flow1.py
and flow2.py
remotely since common_utils
wasn't packaged but now it is! π¦
cc @silly-motorcycle-86975 @careful-dress-39510 @worried-flag-22881 who have asked similar questions about structuring projects in the pastsilly-motorcycle-86975
02/17/2022, 3:11 AMworried-flag-22881
02/17/2022, 3:12 AMquiet-motherboard-43023
02/17/2022, 7:19 AMmelodic-train-1526
02/17/2022, 7:34 AMbumpy-shoe-22762
02/17/2022, 10:39 PMbright-agent-37810
02/21/2022, 3:43 PMOSError: [Errno 62] Too many levels of symbolic links:
. It seems to be macOs specific problem for conda, if I interpret this issue correctly: https://github.com/conda/conda/issues/6514
That said, the very same flow with simlink works perfectly under Linux and I am super happy about it! Thank you :)