Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A couple fixes, oneliner each. #8

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

zhanzhang3
Copy link
Contributor

  1. replace np.int() with int()
  2. add a condition check for detector change.

replace np.int() with int()
In function _currentDetectorChanged(), add condition:
        if currentDetector != "":
            self.updateROIandNumAvg()
In case the detector list is empty (e.g. when changing to a different detector config file, detSelect list will be cleaned out first), skip setting the ROI and others.
Not GUI interface entry added for this.  Only for using with scripts.  Very rudimentary, skipping the master file and only read the data file for the image.  And the data file has to be organized similar as our .tiff file structure, under $(project_dir)/hdf5s/$(sample_name)/Snnn/.
Using json file as input.  2 input files are uploaded, too.
Keep them here for display slices of vti files.  But it could be very Paraview version dependent.  One is doing X, Y, Z slice through a point; the other tiling multiple vti file side by side with a single slice from each file.
Edit the output message showing Qx, Qy, Qz to Qx/H, Qy/K, Qz/L, as we use HKL more often.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant