Comments (6)
I did that, it printed the correct path for the dataset. Along with that I deleted the previous .pylidcrc file and made a new one with the same details and that worked for me. Thanks a lot for your help !
from pylidc.
That's triggered when os.path.exists(...)
returns False for the path in your config file. That means either:
- The path in your
.pylidcrc
file isn't being read correctly - The path
/Volumes/One Touch/Datasets/LIDC-IDRI/LIDC-IDRI
isn't correct / doesn't exist
To debug, edit the file at ~/opt/anaconda3/lib/python3.9/site-packages/pylidc/Scan.py
. Add a print statement at line 210 print(dicompath)
to see what path is actually being tested to exist there.
from pylidc.
I added the print(dicompath)
statement in ~/opt/anaconda3/lib/python3.9/site-packages/pylidc/Scan.py
and ran the code again but it isn't printing any path. How should I proceed further ?
from pylidc.
Did you restart your ipython kernel after making the change to ensure the updated code is imported?
from pylidc.
Yes I did restart the kernel. Is the issue occurring because the dataset is stored in an external drive ?
from pylidc.
Is the issue occurring because the dataset is stored in an external drive ?
No. External drives work fine. There's one of two things going on right now:
- The print statement isn't executing because it's not running the updated code; or
- The print statement only looks like it's not doing anything because
dicompath
is blank or something.
Let's look into 2. Instead of print(dicompath)
, let's make it more obvious, by using print(f'The dicompath variable is: "{dicompath}"')
.
from pylidc.
Related Issues (20)
- dicom, xml to niffty and niffty segmented HOT 1
- How to access NBIA via pylidc HOT 1
- ValueError: The length of the pixel data in the dataset (524285 bytes) doesn't match the expected length (524288 bytes). HOT 5
- how to obtain the physical bbox? HOT 5
- Where to find pylidc.conf file in Google Colab? HOT 1
- Not able to do path configuration for pylidc on mac HOT 1
- RuntimeError: Could not establish path to dicom files. Have you specified the `path` option in the configuration file C:\Users\user\pylidc.conf? HOT 1
- marching_cubes_lewiner HOT 1
- Pylidc Annotation Class HOT 3
- 3D Annotation HOT 9
- OSError: Couldn't find DICOM files for Scan(id=12,patient_id=LIDC-IDRI-0001). HOT 6
- Showing patients with multiple nodules HOT 9
- module 'cmap_d' error
- Mismatching SeriesInstanceUID and StudyInstanceUID HOT 2
- Using populate.py
- AssertionError: Internal structure score out of bounds in Annotation(id=3761,scan_id=516)
- Annotation slice number HOT 2
- centroid to physical coordinates HOT 1
- Majorly slow dataloader using pylidc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylidc.