Skip to content

Commit

Permalink
Clean up redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
nadove-ucsc committed Aug 1, 2023
1 parent 8475b4f commit e35ca50
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/azul/service/avro_pfb.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ def add_doc(self, doc: JSON):
pfb_entity = PFBEntity.from_json(name=entity_type,
object_=entity,
schema=self.schema)
if pfb_entity not in self._entities:
self._entities[pfb_entity] = set()
file_relations.add(PFBRelation.to_entity(pfb_entity))
file_entity: MutableJSON = one(contents[self.entity_type])
related_files = file_entity.pop('related_files', [])
Expand Down

0 comments on commit e35ca50

Please sign in to comment.