Skip to content

Commit

Permalink
attempt to resolve name conflict for internal io module
Browse files Browse the repository at this point in the history
  • Loading branch information
matomatical committed Jan 28, 2023
1 parent 9bf6c44 commit f809a67
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mg/main/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys

from mg.io import print
from mg.mgio import print
from mg.options import get_options
from mg.graph import KnowledgeGraph
from mg.data import Database, Log, load_graph
Expand Down
2 changes: 1 addition & 1 deletion mg/main/checkup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mg.io import print, input
from mg.mgio import print, input

def run_checkup(graph, db, log, options):
loaded_keys = set(graph.keys)
Expand Down
2 changes: 1 addition & 1 deletion mg/main/drill.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import random

from mg.io import print, input
from mg.mgio import print, input

def run_drill(graph, options, review=False):
# decide which cards to drill
Expand Down
2 changes: 1 addition & 1 deletion mg/main/info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mg.io import print, input
from mg.mgio import print, input
from mg.plot import print_bars
from mg.color import colormap_red_green as color, to_hex

Expand Down
2 changes: 1 addition & 1 deletion mg/main/learn.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import random

from mg.io import print, input
from mg.mgio import print, input


def run_learn(graph, options):
Expand Down
2 changes: 1 addition & 1 deletion mg/main/status.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mg.io import print, input
from mg.mgio import print, input
from mg.plot import print_hist
from mg.color import colormap_red_green as color, to_hex

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion mg/plot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import itertools

from mg.io import print
from mg.mgio import print
from mg.color import colormap_red_green, to_hex


Expand Down

1 comment on commit f809a67

@matomatical
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May fix issue #2.

Please sign in to comment.