Conversation
update msui mainwindow based on left treewidget, download from operations implemented completely and prcess dialogs added, update msui mainwindow based on left treewidget,
| img = PIL.Image.open(image_io) | ||
| self.myfig.draw_image(img) | ||
| self.myfig.fig.savefig(f"{flight}_{layer}_{no_of_plots}.png") | ||
| t = str(time) |
There was a problem hiding this comment.
ToDo: t as extra var seems not needed
That can be looked up on a refactoring. Some method have too much lines. Some code is duplicated.
mslib/utils/mssautoplot.py
Outdated
|
|
||
| def get_op_id(token, mscolab_server_url, curr_op): | ||
| logging.debug('get_recent_op_id') | ||
| if verify_user_token(mscolab_server_url, token): |
There was a problem hiding this comment.
ToDo: refactor similiar to
https://github.com/Open-MSS/MSS/pull/2521/files#diff-8bb1b53508f9fe252a80649575f92b7aa4756be8dda54c217a7c1d9063d6b0c5
This should be done after the merge into develop. It is also a question if we need that here.
* rename cli_tool back to main * renamed dock to apd * refactored session and response names * improve comment
|
ToDo: On Sideview or Linearview the operation/flights did not reload updaten on clicking in the navigation of the autoplot widget |
|
|
When not logged in or not the flightpath loaded, errors are shown on the terminal. A user should get shown what is missing. e.g. you need to login to the server to access the operations or/and open the flighttracks. addressed by: |
#2554) we have to use mainwindow instead of parent
|
When not using a localhost mscolab server I ran into. It seems not to use the user defined mscolab_server_url |
After removing the file it does. We maybe should have done an update in our configs once a different mscolab server is used. This can become later improved. |
|
When using a http_auth protected mscolab server mssautoplot can't login. |
|
mslib/utils/mssautoplot.py
Outdated
| self.config["predefined_map_sections"][section]["CRS"].lower()) | ||
| except KeyError as e: | ||
| print(e) | ||
| sys.exit("Invalid SECTION and/or CRS") |
There was a problem hiding this comment.
ToDo: don't sys.exit(), this will also end msui when it is called by the msui - autoplot.
There was a problem hiding this comment.
this can be raise SystemExit(...)
mslib/utils/mssautoplot.py
Outdated
| self.read_ftml(filename) | ||
|
|
||
| def read_ftml(self, filename): | ||
| dirpath = "./" |
There was a problem hiding this comment.
ToDo: we should be able to pass a dir and fall back can be the local dir.
This blocks its usage from the autoplot dockingwidget, when the ftml data file is not found.
We maybe should store the dir of the file in the mssautoplot.json and not only the filename.
There was a problem hiding this comment.
the cli should have a parameter to bypass directories defined in the mssautoplot.json for ftml file, and on default we should store fullpath of the file.
---- Co-authored-by: ReimarBauer <[email protected]>
|
@joernu76 this is an improved version of the origin GSOC project. There are still some ToDos, but they should be done in different PR. |


Purpose of PR?:
This is the current GSOC Project by PreetamSundarDas rebased to develop.
I do mark in the PR what we need to change on this Branch before it can be merged.
Feel free to help with the ToDo's