Skip to content

Commit

Permalink
change request
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanfitz committed May 6, 2024
1 parent 6c468c0 commit c903b90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If WSL fails to start properly after reboot, you may need to create virtual disk

When Ubuntu app is successfully installed, run the following.
```bash
sudo apt-get update
sudo apt update && sudo apt upgrade
```
```bash
sudo apt install build-essential gfortran liblapack-dev git
Expand Down
8 changes: 4 additions & 4 deletions python/pseudoBinaryPhaseDiagramGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
phaseIncludeTol = 1e-8

class CalculationWindow:
def __init__(self, parent, datafile, nElements, elements, active,scrollable=True):
def __init__(self, parent, datafile, nElements, elements, active, scrollable=True):
self.parent = parent
self.datafile = datafile
self.nElements = nElements
self.elements = elements
self.active = active
if self.active:
self.makeLayout()
self.sgw = sg.Window(f'Phase Diagram Setup: {os.path.basename(self.datafile)}', self.layout,resizable=True,size=(600, 800),location = [400,0], finalize=True)
self.sgw = sg.Window(f'Phase Diagram Setup: {os.path.basename(self.datafile)}', self.layout, resizable=True, size=(600,800), location=[400,0], finalize=True)
windowList.append(self)
self.children = []
self.calculation = pseudoBinaryPhaseDiagramFunctions.diagram(self.datafile, True, True)
Expand Down Expand Up @@ -254,8 +254,8 @@ def makeLayout(self):
if (self.nElements < 8):
elemLayout = [sg.Column(elem1Layout),sg.Column(elem2Layout)]
else:
elemLayout = [sg.Column(elem1Layout,vertical_alignment='t', scrollable = True, vertical_scroll_only = True, size=(200, 100),expand_y = True),
sg.Column(elem2Layout,vertical_alignment='t', scrollable = True, vertical_scroll_only = True, size=(200, 100), expand_y = True)]
elemLayout = [sg.Column(elem1Layout, vertical_alignment='t', scrollable=True, vertical_scroll_only=True, size=(200,100), expand_y=True),
sg.Column(elem2Layout, vertical_alignment='t', scrollable=True, vertical_scroll_only=True, size=(200,100), expand_y=True)]
self.layout = [tempLayout,
presLayout,
elemLayout,
Expand Down

0 comments on commit c903b90

Please sign in to comment.