Comments (4)
Hi @raman91,
Could you please indicate which version of imctools and python you are using. Please also let me know if this is your own data or the example data/public data for me to reproduce the error. And if there is a longer traceback, please also post it here.
Cheers,
Nils
from imctools.
Hi @nilseling,
I had this 'Error reading MCD acquisition' problem, too. I am running imctools == 2.x version and python == 3.9.7. This is my code:
from imctools.io.mcd.mcdparser import McdParser
parser = McdParser("LTB_LY_20200522_PDAC_1T_01.mcd")
xml = parser.get_mcd_xml()
session = parser.session
ids = parser.session.acquisition_ids
ac_data = parser.get_acquisition_data(1)
Then I got the error message:
/cluster/apps/anaconda3/2020.02/envs/R-4.1.1/lib/python3.9/site-packages/numpy/core/fromnumeric.py:86: RuntimeWarning: overflow encountered in reduce
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
Error reading MCD acquisition: 1
In this case, I have ids = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
I tried every id in ac_data = parser.get_acquisition_data()
but for all of them I got 'reading MCD acquision' error.
Also, I tried many other .mcd files and there are some errors when reading MCD acquisition. For example, I tried "LTB_LY_20200616_PDAC_2T_01.mcd":
parser = McdParser("LTB_LY_20200616_PDAC_2T_01.mcd")
xml = parser.get_mcd_xml()
session = parser.session
ids = parser.session.acquisition_ids
ac_data = parser.get_acquisition_data(21)
The error is:
Acquisition LTB_LY_20200616_PDAC_2T_01_s0_a21 is emtpy
Error reading MCD acquisition: 21
Also, acquisition 22, 24, 25, 26, 27, 28 is empty while 23 and 29 worked. I am curious why some ROIs cannot be converted to tiff files. Could you please help?
from imctools.
Hi @WJH58
sorry for the late reply, I completely missed this.
Could you also please test readimc for reading in .mcd and .txt files. We sometimes have the issue that .mcd files are corrupt and you will need to read in the acquisition from the .txt files.
from imctools.
Closing due to inactivity
from imctools.
Related Issues (20)
- extract panorama HOT 4
- Make exceptions discoverable in API HOT 3
- Extra 161 bytes extracted on all image buffers HOT 1
- TxtParser and McdParser should share a common base class
- Wrong ROI coordinates for new Fluidigm software versions HOT 4
- Create imctools.data.Acquisition object without loading image data when using TxtParser
- Feature request: option to export additional columns in omefile_2_analysisfolder HOT 4
- KeyError: 'Name' HOT 11
- ValueError: invalid literal for int() with base 10: HOT 1
- Broken assertion HOT 3
- ome2histocat stripps .tiff file ending from masks HOT 2
- Value Error: No session JSON files available HOT 3
- Generated OME-XML in OME-TIFF files is not schema compliant due to out-of-order AcquisitionDate element HOT 3
- broken link to xml namespace HOT 1
- imctools.scripts HOT 2
- Typo in method omexml.py HOT 2
- Inquiry about omexml.py related to schema location HOT 2
- NotADirectoryError: [Errno 20] Not a directory: '../../data/ometiff/.DS_Store/.DS_Store_Acquisition_meta.csv' HOT 4
- Adding clear specification of the 'ome' folder 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 imctools.