Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강현태
/
capstone1-medical2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
강현태
2018-06-06 22:39:11 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a3d322234325b6ad77f5d6035c68467e03b0ed72
a3d32223
1 parent
eb1b23ac
Fix Header
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
routes/index.js
routes/index.js
View file @
a3d3222
...
...
@@ -28,7 +28,7 @@ router.post('/getPredict',function(req,res,next){
}
})
//csv포맷에 맞춰 출력
let
csv1
=
normal_json
.
map
((
val
)
=>
val
.
name
).
join
(
','
);
let
csv1
=
normal_json
.
map
((
val
)
=>
"\""
+
val
.
name
+
"\""
).
join
(
','
);
let
csv2
=
normal_json
.
map
((
val
)
=>
val
.
value
).
join
(
','
);
csv
=
csv1
+
'\n'
+
csv2
;
fs
.
writeFileSync
(
'./inspection.csv'
,
csv
);
...
...
Please
register
or
login
to post a comment