Skip to content

Commit

Permalink
removed unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
haeussma committed Aug 19, 2024
1 parent 97b2c5c commit 7d94e1c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pyeed/network/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from requests import RequestException

from pyeed.align.pairwise import PairwiseAligner
from pyeed.core.proteinrecord import ProteinRecord
from pyeed.core.sequencerecord import SequenceRecord

plt.rcParams["figure.dpi"] = 300
Expand Down Expand Up @@ -92,9 +91,6 @@ def _create_graph(self):
if "mol_weight" in seq_dict:
node_dict["mol_weight"] = seq_dict.pop("mol_weight")




sequences[seq_id] = sequence.sequence
self._full_network.add_node(seq_id, **node_dict)

Expand Down Expand Up @@ -364,9 +360,7 @@ def visualize(
color_labels = list(set(color_labels))
colors = self._sample_colorscale(len(set(color_labels)))

color_dict = dict(
zip(color_labels, colors)
)
color_dict = dict(zip(color_labels, colors))

color_list = []
for node in self.network.nodes.values():
Expand Down

0 comments on commit 7d94e1c

Please sign in to comment.