Skip to content

Commit

Permalink
(QoL) Calculator printout improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
amkrajewski committed Feb 12, 2024
1 parent 0eee0c1 commit 3ddb64c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pysipfenn/core/pysipfenn.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def __init__(self,
def __str__(self):
"""Prints the status of the `Calculator` object."""
printOut = f'pySIPFENN Calculator Object. Version: {__version__}\n'
printOut += f'Models are located in:\n{resources.files("pysipfenn.modelsSIPFENN")}\n{"-" * 80}\n'
printOut += f'Models are located in:\n {resources.files("pysipfenn.modelsSIPFENN")}\n'
printOut += f'Auxiliary files (incl. structure prototypes):\n {resources.files("pysipfenn.misc")}\n{"-" * 80}\n'
printOut += f'Loaded Networks: {list(self.loadedModels.keys())}\n'
if len(self.inputFiles) > 0:
printOut += f'Last files selected as input: {len(self.inputFiles)}\n'
Expand All @@ -125,9 +126,9 @@ def updateModelAvailability(self) -> None:
for net, netName in zip(self.network_list, self.network_list_names):
if all_files.__contains__(net + '.onnx'):
detectedNets.append(net)
print('\u2714 ' + netName)
print(' ' + netName)
else:
print('\u292B ' + netName)
print(' ' + netName)
self.network_list_available = detectedNets

def parsePrototypeLibrary(self,
Expand Down

0 comments on commit 3ddb64c

Please sign in to comment.