Skip to content

Commit 81bebe1

Browse files
committed
lint
1 parent 1bd8068 commit 81bebe1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

examples/sample/sample.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import nipanel
21
import os
32

3+
import nipanel
4+
45
script_path = os.path.dirname(os.path.abspath(__file__))
56
panel_script_path = os.path.join(script_path, "sample_panel.py")
67

@@ -16,4 +17,4 @@
1617

1718
input("Press Enter to close the panel...")
1819

19-
panel.close_panel(reset=True)
20+
panel.close_panel(reset=True)

examples/sample/sample_panel.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import nipanel
21
import streamlit as st
32

4-
panel = nipanel.StreamlitPanelValueAccessor(
5-
panel_id="sample_panel"
6-
)
3+
import nipanel
4+
5+
panel = nipanel.StreamlitPanelValueAccessor(panel_id="sample_panel")
76

87
st.title("Sample Panel")
98

@@ -19,4 +18,4 @@
1918
st.write(panel.get_value("sample_string"))
2019
st.write(panel.get_value("sample_int"))
2120
st.write(panel.get_value("sample_float"))
22-
st.write(panel.get_value("sample_bool"))
21+
st.write(panel.get_value("sample_bool"))

0 commit comments

Comments
 (0)