sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
297 stars 143 forks source link

Path not working on MacOS #39

Closed EvenGu closed 4 years ago

EvenGu commented 4 years ago

Describe the bug A clear and concise description of what the bug is. Some of your scripts use backslashes for generating a path, which does not work on MacOS. For example, in the create_project_init.py, project_folder = str(directory +'\\' + project_name + '\\project_folder') It would be better to use os.path.join()

The backslashes resulted in folders like this: image

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

sgoldenlab commented 4 years ago

Hi @EvenGu - currently we only support Windows. I.e., check this recent issue for suggested work arounds (e.g., virtual Win environment for now) :

https://github.com/sgoldenlab/simba/issues/37#issuecomment-643699314

There been a lot of Mac/Linux users reaching out about issues like this, and I know some may be working on updating the SimBA code to ensure Mac/Linux compatibility and when this is available I will let you know.