diff --git a/src/createBedSet.jsx b/src/createBedSet.jsx
index 433de77..ff726dd 100644
--- a/src/createBedSet.jsx
+++ b/src/createBedSet.jsx
@@ -27,26 +27,10 @@ export default class CreateBedSet extends React.Component {
}
async componentDidMount() {
- console.log("my bed set:", this.state.myBedSet)
+ this.getBedIdx()
}
async createBedSet() {
- this.getBedIdx()
- // let idx_list = []
-
- // idx_list.push(
- // this.state.myBedSet.map((bed) => {
- // return bed.id;
- // })
- // )
-
- // idx_list = encodeURIComponent(
- // idx_list.toString()
- // )
-
- // this.setState({
- // myBedSetIdx: idx_list
- // })
let md = await api.post(
"/api/bedset/create/" +
@@ -55,6 +39,8 @@ export default class CreateBedSet extends React.Component {
this.state.myBedSetIdx
).then(({ data }) => data)
+ alert("Your BED set has been submitted for processing!")
+
localStorage.clear();
}
@@ -88,24 +74,9 @@ export default class CreateBedSet extends React.Component {
- Download My BED Set
-
-
- {"Download from http with command "}
-
- {"wget -i my_bedset_http.txt"}
-
-
-
- {"Download from s3 with command "}
-
- {"cat my_bedset_s3.txt | parallel aws s3 cp {} "}
-
-
-
+ My BED Set
{this.state.myBedSet ? (
@@ -162,17 +133,9 @@ export default class CreateBedSet extends React.Component {
}}
/>
- {/*
*/}