Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Commits
3a5b84b4
Commit
3a5b84b4
authored
2 months ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
fix variable name
parent
04cf0176
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!286
Add mask to Info object
Pipeline
#263371
passed with stages
in 4 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/finam/data/tools/core.py
+2
-2
2 additions, 2 deletions
src/finam/data/tools/core.py
with
2 additions
and
2 deletions
src/finam/data/tools/core.py
+
2
−
2
View file @
3a5b84b4
...
...
@@ -180,8 +180,8 @@ def _no_grid_shape_valid(data_shape, grid):
return
False
dshp
=
np
.
array
(
data_shape
)
gshp
=
np
.
array
(
grid
.
data_shape
)
check
=
gshp
!=
-
1
return
np
.
all
(
dshp
[
check
]
==
gshp
[
check
])
fix_dims
=
gshp
!=
-
1
return
np
.
all
(
dshp
[
fix_dims
]
==
gshp
[
fix_dims
])
def
has_time_axis
(
xdata
,
grid
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment