AllenCell / EMT_image_analysis

Repository for EMT image analysis code
Other
2 stars 0 forks source link

Colony mask inference `pip install .` may fail #25

Open pgarrison opened 6 days ago

pgarrison commented 6 days ago

This issue is about the work-in-progress branch for colony mask inference reproducibility, sm_colony_mask_pred_test_v0.

The pip install . step of the colony mask inference installation instructions will fail if the user has a EMT_image_analysis/Colony_mask_training_inference/test_data or EMT_image_analysis/Colony_mask_training_inference/logs directory in addition to EMT_image_analysis/Colony_mask_training_inference/configs, because pip tries to find source code to install.

The logs directory is created by cyto-dl and the test_data directory is created in the usage instructions.

One idea for resolving this:

Originally reported by @sandraoluoch

pgarrison commented 3 days ago

From @mfs4rd

Attempting to pip install . the repo when data directory is present causes issues where pip believes it is a module directory. Consider adding a setting in the setup files to prevent this