Open proccaserra opened 3 years ago
Background: Conversion from ISA-JSON to ISA-JSONLD and tuning of ISA JSON context files
ISA JSON context files
Affected component: isajson.py
example fix on def get_ontology_source(obj) (https://github.com/ISA-tools/isa-api/blob/0e934efcc32b13166a3808ec3373116078e47912/isatools/isajson.py#L1599) return clean_nulls( { "@id": id_gen(obj), "name": obj.name, "description": obj.description, "file": obj.file, "version": obj.version, "comments": get_comments(obj.comments) if obj.comments else [] }
def get_ontology_source(obj)
return clean_nulls( { "@id": id_gen(obj), "name": obj.name, "description": obj.description, "file": obj.file, "version": obj.version, "comments": get_comments(obj.comments) if obj.comments else [] }
further testing indicates retrofit is needed for the following objects too
Background: Conversion from ISA-JSON to ISA-JSONLD and tuning of
ISA JSON context files
Affected component: isajson.py
example fix on
def get_ontology_source(obj)
(https://github.com/ISA-tools/isa-api/blob/0e934efcc32b13166a3808ec3373116078e47912/isatools/isajson.py#L1599)return clean_nulls( { "@id": id_gen(obj), "name": obj.name, "description": obj.description, "file": obj.file, "version": obj.version, "comments": get_comments(obj.comments) if obj.comments else [] }