Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
made a change so could support file objects as well as path objects for excel file
  • Loading branch information
JMante1 authored Oct 4, 2022
1 parent 942f98d commit eacadb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion excel2flapjack/excel2flapjack/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def flapjack_upload(fj_url, fj_user, fj_pass, excel_path):
fj.log_in(username=fj_user, password=fj_pass)

# read in Excel Data
xls = pd.ExcelFile(excel_path)
xls = pd.read_excel(excel_path,sheet_name=None)
fj_conv_sht = xls.parse('FlapjackCols', skiprows=0)

# order is important as Chemicals and DNA must be created before
Expand Down

0 comments on commit eacadb5

Please sign in to comment.