Skip to content

Commit

Permalink
Fixed a bug that prevented lists of table names from being updated after
Browse files Browse the repository at this point in the history
a fetch.
  • Loading branch information
jkarns275 committed Aug 24, 2018
1 parent 4436e5a commit 125a8df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/Hapiest Paper 2018/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,7 @@ \subsection{Binary Distributions}
\section{Features}

\begin{figure*}[t]
\centering
\includegraphics[width=\textwidth]{xsc_graph_display.png}
\centering\includegraphics[width=5in]{xsc_graph_display.png}
\caption{A screenshot of a graph display window in HAPIEST. In this example there are 3 cross sections of CFC-11
on the plot. }
\label{fig:xsc_graph}
Expand Down
1 change: 1 addition & 0 deletions src/widgets/main_window_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def populate_table_lists(self, data_names=None):
"""
if data_names == None:
data_names = list(get_all_data_names())
print(data_names)
non_xsc_data = list(data for data in data_names if not data.endswith(".xsc"))

# self.view_widget.table_name.clear()
Expand Down
3 changes: 1 addition & 2 deletions src/worker/work_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,7 @@ def save_table(table: Dict[str, Any], name: str, **kwargs):
@staticmethod
def get_all_table_names() -> List[str]:
l = list(tableList())
l.append(list(LOCAL_XSC_CACHE.keys()))
return l
return l + list(LOCAL_XSC_CACHE.keys())

@staticmethod
def table_meta_data(table_name: str):
Expand Down

0 comments on commit 125a8df

Please sign in to comment.