Skip to content

Commit

Permalink
Update Bulk Example to point to the Main github branch
Browse files Browse the repository at this point in the history
  • Loading branch information
BirdMachine committed Sep 17, 2024
1 parent 9035db8 commit 3db243d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/src/components/ingest/bulk.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ renderFileGrabber = () =>{

render = () =>{
//@NOTE: File download will only work once the file makes it to the main branch
var targetBranch ="master";
var targetBranch ="main";
var targetFile = (this.props.bulkType).slice(0, -1).toLowerCase()
const exampleFile ="https://raw.githubusercontent.com/hubmapconsortium/ingest-ui/"+targetBranch+"/src/src/assets/Documents/example-"+targetFile+"-registrations.tsv"
const docs ="https://docs.hubmapconsortium.org/bulk-registration/"+this.props.bulkType.toLowerCase().slice(0, -1)+"-bulk-reg.html"
Expand Down
2 changes: 0 additions & 2 deletions src/src/components/metadata.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,7 @@ const introText = () =>{
</>)}


var targetBranch ="master";
var targetFile = (props.type).toLowerCase()
// const exampleFile ="https://raw.githubusercontent.com/hubmapconsortium/dataset-metadata-spreadsheet/main/contributors/latest/contributors.tsv"
const exampleFile ="https://hubmapconsortium.github.io/ingest-validation-tools/sample-"+targetFile+"/current/"

return (
Expand Down

0 comments on commit 3db243d

Please sign in to comment.