HenriquesLab / HenriquesLab/ZeroCostDL4Mic

Error in 1.3. Load key dependencies StarDist_2D

Open
#249 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
652
Forks
144
PR merge metrics
No merged PRs in 30d

Description

Hello, I run into the following problem trying to load key dependencies for StarDist_2D (1.3. Load key dependencies). Installation of 1.1 StarDist and dependencies goes fine.

2.11.0
Tensorflow enabled.

Libraries installed
Notebook version: 1.18
Latest notebook version: 1.18
This notebook is up-to-date.

ValueError Traceback (most recent call last)
in
472 # Build requirements file for local run
473 after = [str(m) for m in sys.modules]
--> 474 build_requirements_file(before, after)

3 frames
/usr/local/lib/python3.9/dist-packages/pandas/io/parsers/readers.py in _refine_defaults_read(dialect, delimiter, delim_whitespace, engine, sep, error_bad_lines, warn_bad_lines, on_bad_lines, names, prefix, defaults)
1534
1535 if delimiter == "\n":
-> 1536 raise ValueError(
1537 r"Specified \n as separator or delimiter. This forces the python engine "
1538 "which does not accept a line terminator. Hence it is not allowed to use "

ValueError: Specified \n as separator or delimiter. This forces the python engine which does not accept a line terminator. Hence it is not allowed to use the line terminator as separator.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the StarDist_2D notebook's 1.3 Load key dependencies step and the cell calling build_requirements_file, then inspect the pandas parser traceback shown in the issue. Reproduce the failure in the notebook environment and verify that the dependency-loading step completes without the delimiter ValueError.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, pandas, python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.