Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
thopri
PyNEMO
Commits
38c9338c
Commit
38c9338c
authored
5 years ago
by
James Harle
Browse files
Options
Download
Email Patches
Plain Diff
Update dtype for the ncml read
parent
f4fb9959
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pynemo/reader/ncml.py
pynemo/reader/ncml.py
+1
-1
No files found.
pynemo/reader/ncml.py
View file @
38c9338c
...
...
@@ -225,7 +225,7 @@ class Variable(object):
retval
=
data_array
.
copyToNDJavaArray
()
#TODO: copy it into numpy instead of Java array and then convert to numpy
# convert to numpy array
retval
=
np
.
asarray
(
retval
)
retval
=
np
.
asarray
(
retval
,
dtype
=
'float'
)
self
.
logger
.
info
(
retval
.
shape
)
if
np_input
:
#if an array is passed as selection
ret_dim_list
=
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment