Skip to content

Commit

Permalink
remove question marks when plotting (#347)
Browse files Browse the repository at this point in the history
* remove question marks when plotting (treated as wildcard by ls in radio-padre)

* Replace question marks with N/A.

---------

Co-authored-by: Jonathan Kenyon <[email protected]>
  • Loading branch information
landmanbester and JSKenyon authored Nov 29, 2024
1 parent d1f39bf commit 773dca8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quartical/apps/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ def to_plot_dict(xdsl, iter_attrs):


def _plot(group, xds, args):
# get rid of question marks
qstrip = lambda x: x.replace('?', 'N/A')
group = tuple(map(qstrip, group))

xds = xds.compute(scheduler="single-threaded")

Expand Down

0 comments on commit 773dca8

Please sign in to comment.