Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfxmap_python
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
jfxmap_python
Commits
8a185857
Commit
8a185857
authored
Feb 08, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
2d97cba5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
trans_and_export_data_multi_auto.py
script/trans_and_export_data_multi_auto.py
+2
-2
No files found.
script/trans_and_export_data_multi_auto.py
View file @
8a185857
...
...
@@ -750,7 +750,7 @@ if __name__ == '__main__':
p_dir
=
"/home/oscar/ros/git/jfxmap_python/jfxmap/"
str_time
=
time
.
strftime
(
"
%
Y-
%
m-
%
d_
%
H-
%
M-
%
S"
,
time
.
localtime
())
base_rootgenerate_root_path
_path
=
os
.
path
.
join
(
generate_root_path
,
str_time
)
generate_root
_path
=
os
.
path
.
join
(
generate_root_path
,
str_time
)
os
.
mkdir
(
generate_root_path
)
start_t
=
time
.
time
()
time_record
=
[]
...
...
@@ -893,7 +893,7 @@ if __name__ == '__main__':
totel_t
=
time
.
time
()
-
start_t
totel_info
=
{
"totel_time"
:
totel_t
}
time_record
.
append
(
totel_info
)
totel_time_file
=
os
.
path
.
join
(
bas
e_root_path
,
"totel_time.json"
)
totel_time_file
=
os
.
path
.
join
(
generat
e_root_path
,
"totel_time.json"
)
with
open
(
totel_time_file
,
'w'
)
as
file_o
:
json
.
dump
(
time_record
,
file_o
,
cls
=
NumpyEncoder
,
indent
=
4
)
...
...
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