Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on old version #1

Open
iaaka opened this issue Oct 14, 2024 · 0 comments
Open

Fails on old version #1

iaaka opened this issue Oct 14, 2024 · 0 comments

Comments

@iaaka
Copy link

iaaka commented Oct 14, 2024

Hi @prete, thank you for this tool, it works well for newer files (at least for version 6.2.1) but fails on older (at least on v5.1.0), for example this nfs/cellgeni/pasham/code/cloupe/data/labelled_cloupe_upload/bayanne_cloupe_upload/WS_D_SKNsp10264999_PL.cloupe (or any in same folder):

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[67], line 2
      1 file_path = '/nfs/cellgeni/pasham/code/cloupe/data/labelled_cloupe_upload/bayanne_cloupe_upload/WS_D_SKNsp10264999_PL.cloupe'
----> 2 cloupe = Cloupe(file_path)

Cell In[4], line 28, in Cloupe.__init__(self, cloupe_path)
     25 for run in self.index_block.get("Runs", []):
     26     if "Metadata" in run:
     27         run["Metadata"] = self.read_block(
---> 28             start=run["Metadata"]["Start"],
     29             end=run["Metadata"]["End"],
     30             as_json=True,
     31         )
     32     self.runs.append(run)
     34 # read Metrics

TypeError: 'NoneType' object is not subscriptable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant