Skip to content

Commit f03edb2

Browse files
committed
Fixed errors found by codespell
1 parent 9d17fd0 commit f03edb2

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ History of changes
7676
* Added reset component keystroke to PICAchooser and melodicomp.
7777

7878
## Version 1.2.2 (4/5/20)
79-
* More fiddling to get deplyment working again.
79+
* More fiddling to get deployment working again.
8080

8181
## Version 1.2.1 (4/5/20)
82-
* Fiddled with .gitignore to try to get deplyment working again.
82+
* Fiddled with .gitignore to try to get deployment working again.
8383
* Added a help line to the bottom of grader GUI window.
8484

8585
## Version 1.2.0 (4/5/20)

INSTALL.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ PICAchooser requires some external libraries to be installed first:
1111
- scipy
1212
- pandas
1313
- nibabel
14-
- pyqt5
14+
- pyqt6
15+
- pyqt6-sip
1516
- pyqtgraph
1617
- pillow
1718

@@ -37,7 +38,7 @@ The other simple way to get this all done is to use Anaconda python
3738
from Continuum Analytics. It’s a free, curated scientific Python
3839
distribution that is easy to maintain and takes a lot of headaches out
3940
of maintaining a distribution. It also already comes with almost all of the
40-
dependancies for PICAchooser installed by default. You can get it here:
41+
dependencies for PICAchooser installed by default. You can get it here:
4142
https://www.continuum.io. You should download the most recent Python 3 version.
4243

4344
After installing Anaconda python, install the remaining dependency

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PICAchooser (the package)
44
.. figure:: https://raw.githubusercontent.com/bbfrederick/picachooser/master/images/picalogo.png
55
:alt: Logo
66

7-
A set of simple gui tools for scanning through MELODIC probabalistic ICA
7+
A set of simple gui tools for scanning through MELODIC probabilistic ICA
88
runs and quickly making decisions about which components to retain, and
99
what relates to what. These tools each only do one thing, but they do them
1010
quickly and easily using only keyboard input. Current programs are
@@ -18,7 +18,7 @@ What's in here?
1818
PICAchooser
1919
-----------
2020
Lets you step through the components in an ICA analysis (from many sources), and select which components you
21-
want to retain. In addition to showing the spatial ICs, it also displays the componnent timecourses,
21+
want to retain. In addition to showing the spatial ICs, it also displays the component timecourses,
2222
motion traces, and the correlation between them, to help with your decision making.
2323

2424
Once you launch, you do everything with keyboard commands, and it's been optimized to go as fast as possible, so

picachooser/LightboxItem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def __init__(
492492
self.setorient(self.orientation)
493493

494494
if self.verbose:
495-
print("LightboxItem intialization:")
495+
print("LightboxItem initialization:")
496496
print(" Dimensions:", self.xdim, self.ydim, self.zdim)
497497
print(" Voxel sizes:", self.xsize, self.ysize)
498498
print(" FOVs:", self.xfov, self.yfov)

picachooser/scripts/PICAchooser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ def main():
835835
metavar="MIXFILE",
836836
type=lambda x: pica_util.is_valid_file(parser, x),
837837
help=(
838-
"The timecourses of the independant components (usually found in MELODICDIR/melodic_mix),"
838+
"The timecourses of the independent components (usually found in MELODICDIR/melodic_mix),"
839839
),
840840
default=None,
841841
)

picachooser/scripts/grader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def main():
400400
try:
401401
args = parser.parse_args()
402402
except SystemExit:
403-
print("Use --help option for detailed informtion on options.")
403+
print("Use --help option for detailed information on options.")
404404
raise
405405

406406
runmode = "aroma"

picachooser/stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def getfracvals(datamat, thefracs, numbins=200, displayplots=False, nozero=False
517517
maskmat = datamat[np.where(datamat != 0.0)]
518518
if len(maskmat) == 0:
519519
for thisfrac in thefracs:
520-
thevals.appen(0.0)
520+
thevals.append(0.0)
521521
return thevals
522522
else:
523523
maskmat = datamat
@@ -613,7 +613,7 @@ def makemask(image, threshpct=25.0, verbose=False, nozero=False):
613613
print(
614614
" threshpct:",
615615
threshpct,
616-
" mask threshhold:",
616+
" mask threshold:",
617617
threshval,
618618
)
619619
themask = np.where(image > threshval, np.int16(1), np.int16(0))

0 commit comments

Comments
 (0)