Skip to content

Commit

Permalink
Merge branch 'bugfix/174-FSes-that-are-only-transitively-referenced-c…
Browse files Browse the repository at this point in the history
…annot-be-serialized' into feature/168-Experimental-JSON-CAS-support

* bugfix/174-FSes-that-are-only-transitively-referenced-cannot-be-serialized:
  #174 - FSes that are only transitively referenced cannot be serialized (#179)
  • Loading branch information
reckart committed Aug 18, 2021
2 parents 61de56e + 26bb6b7 commit 0a6be49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cassis/cas.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def _find_all_fs(self, generate_missing_ids: bool = False) -> Iterable[FeatureSt
ts = self.typesystem
while openlist:
fs = openlist.pop(0)
if generate_missing_ids:
if generate_missing_ids and fs.xmiID is None:
fs.xmiID = self._get_next_xmi_id()
all_fs[fs.xmiID] = fs

Expand Down

0 comments on commit 0a6be49

Please sign in to comment.