Skip to content

Commit

Permalink
CSCKAN-290 fix: Make export more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Jul 18, 2024
1 parent 2757296 commit b7352be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/composer/services/export_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def get_neuron_population_label(cs: ConnectivityStatement, row: Row):


def get_type(cs: ConnectivityStatement, row: Row):
return cs.phenotype.name
return cs.phenotype.name if cs.phenotype else ""



def get_structure(cs: ConnectivityStatement, row: Row):
Expand Down

0 comments on commit b7352be

Please sign in to comment.