Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
preprocess-data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dasharatha.vamshi
preprocess-data
Commits
e5e018c7
Commit
e5e018c7
authored
Feb 25, 2021
by
dasharatha.vamshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
az down
parent
9fe429a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
main.py
main.py
+1
-1
scripts/common/config_parser.py
scripts/common/config_parser.py
+1
-1
No files found.
main.py
View file @
e5e018c7
...
...
@@ -91,7 +91,7 @@ if __name__ == '__main__':
if
PreProcessConstants
.
STANDARD_SCALAR_PATH
in
config
.
keys
():
standard_scalar_path
=
config
[
PreProcessConstants
.
STANDARD_SCALAR_PATH
]
try
:
my_path
=
PreProcessConstants
.
AZURE_FILE_PATH
+
tag_dir
+
standard_scalar_path
.
split
(
'/'
)[
-
1
]
my_path
=
PreProcessConstants
.
AZURE_FILE_PATH
+
tag_dir
+
"/"
+
standard_scalar_path
.
split
(
'/'
)[
-
1
]
logger
.
info
(
"Azure file path "
+
my_path
)
x
=
azure_download
(
my_path
,
standard_scalar_path
)
if
x
:
...
...
scripts/common/config_parser.py
View file @
e5e018c7
...
...
@@ -40,9 +40,9 @@ if READ_FROM_MONGO:
raise
Exception
(
'No job in progress'
)
_tag_hierarchy
=
get_run_info
[
'job_metadata'
][
'in_progress'
][
0
]
tag_path
=
_tag_hierarchy
sys
.
stdout
.
write
(
f
"_tag_hierarchy --> {_tag_hierarchy}
\n
"
)
_tag_hierarchy
=
_tag_hierarchy
.
split
(
'$'
)
tag_path
=
_tag_hierarchy
site_id
=
_tag_hierarchy
[
0
]
dept_id
=
_tag_hierarchy
[
1
]
line_id
=
_tag_hierarchy
[
2
]
...
...
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