Skip to content

Commit

Permalink
rename re to regex to avoid shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
Bribak committed Jan 21, 2024
1 parent 2c6d3f8 commit 10b6b40
Show file tree
Hide file tree
Showing 8 changed files with 3,476 additions and 3,448 deletions.
6,912 changes: 3,470 additions & 3,442 deletions 03_motif.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/lib/glycowork/motif/annotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from glycowork.glycan_data.loader import lib, linkages, motif_list, find_nth, unwrap, replace_every_second, remove_unmatched_brackets
from glycowork.motif.graph import subgraph_isomorphism, generate_graph_features, glycan_to_nxGraph, graph_to_string, ensure_graph
from glycowork.motif.processing import IUPAC_to_SMILES, get_lib, find_isomorphs, expand_lib, rescue_glycans
from glycowork.motif.re import get_match
from glycowork.motif.regex import get_match


def link_find(glycan):
Expand Down
2 changes: 1 addition & 1 deletion build/lib/glycowork/motif/draw.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from glycowork.glycan_data.loader import lib, unwrap, motif_list, multireplace
from glycowork.motif.re import get_match
from glycowork.motif.regex import get_match
from glycowork.motif.graph import glycan_to_nxGraph, categorical_node_match_wildcard
from glycowork.motif.tokenization import get_core, get_modification
from glycowork.motif.processing import expand_lib, min_process_glycans, get_possible_linkages, get_possible_monosaccharides, rescue_glycans
Expand Down
2 changes: 1 addition & 1 deletion glycowork.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ glycowork/motif/graph.py
glycowork/motif/mz_to_composition.csv
glycowork/motif/processing.py
glycowork/motif/query.py
glycowork/motif/re.py
glycowork/motif/regex.py
glycowork/motif/tokenization.py
glycowork/network/__init__.py
glycowork/network/biosynthesis.py
Expand Down
2 changes: 1 addition & 1 deletion glycowork/_modidx.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'glycowork.motif.graph': {},
'glycowork.motif.processing': {},
'glycowork.motif.query': {},
'glycowork.motif.re': {},
'glycowork.motif.regex': {},
'glycowork.motif.tokenization': {},
'glycowork.network': {},
'glycowork.network.biosynthesis': {},
Expand Down
2 changes: 1 addition & 1 deletion glycowork/motif/annotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from glycowork.glycan_data.loader import lib, linkages, motif_list, find_nth, unwrap, replace_every_second, remove_unmatched_brackets
from glycowork.motif.graph import subgraph_isomorphism, generate_graph_features, glycan_to_nxGraph, graph_to_string, ensure_graph
from glycowork.motif.processing import IUPAC_to_SMILES, get_lib, find_isomorphs, expand_lib, rescue_glycans
from glycowork.motif.re import get_match
from glycowork.motif.regex import get_match


def link_find(glycan):
Expand Down
2 changes: 1 addition & 1 deletion glycowork/motif/draw.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from glycowork.glycan_data.loader import lib, unwrap, motif_list, multireplace
from glycowork.motif.re import get_match
from glycowork.motif.regex import get_match
from glycowork.motif.graph import glycan_to_nxGraph, categorical_node_match_wildcard
from glycowork.motif.tokenization import get_core, get_modification
from glycowork.motif.processing import expand_lib, min_process_glycans, get_possible_linkages, get_possible_monosaccharides, rescue_glycans
Expand Down
File renamed without changes.

0 comments on commit 10b6b40

Please sign in to comment.