-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When running the CellNEST-interactive project with the command cellnest_interactive 8080 server/data/files/ as per the documentation, the backend throws the following errors:
- After setting the data directory parameter to
server/data/files/, the backend attempts to open this path and encountersIsADirectoryError: [Errno 21] Is a directory: 'server/data/files/'. This is because backend code (such as the get_vertex_types view) tries to open the directory as a file using open(). - In some backend data processing logic, the code uses numbers as DataFrame column names (e.g., temp[2]), but the actual column names are strings. This leads to KeyError: 2.
Suggestions:
- Fix the backend logic for reading the data directory, ensuring that only actual files are opened, not directories.
- For DataFrame access, please use .iloc or .values for positional access, or use actual column names.
- Update documentation to clarify that users should provide a specific file path instead of a directory, or make the backend automatically detect and process files within a directory.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels