Skip to content

Commit

Permalink
Use class-based check for crosslining-ms data
Browse files Browse the repository at this point in the history
  • Loading branch information
aozalevsky committed Jul 18, 2024
1 parent 06b4654 commit 43a3cf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ihm_validation/mmcif_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def get_dataset_details(self) -> dict:
elif 'PDB' in str(i.__class__.__name__):
acc1 = 'PDB ID: ' + acc
dataset_comp['Details'].append(acc1)
elif 'CX' in str(i.__class__.__name__):
elif isinstance(i, ihm.dataset.CXMSDataset):
acc1 = self.get_dataset_xl_info(i._id)
dataset_comp['Details'].append(acc1)
elif 'EMDB' in str(i.__class__.__name__):
Expand Down

0 comments on commit 43a3cf1

Please sign in to comment.