Skip to content

Better fix for doi parsing #31

@NicoKiaru

Description

@NicoKiaru

I'm trying to retrieve the doi of the atlases from BrainGlobe here:

try:
self.dois.add(JString(self.atlas.metadata['citation'].split("doi.org/", 1)[1]))
except:
self.dois.add(JString("could not parse doi"))

However I had to catch an exception for the kim_mouse_idisco atlas (and probably others).

A better fix would be nice, I need to print and look at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions