Merge pull request #1985 from nsoranzo/release_16.01_lda_fixes

[16.01] Do not convert spaces to tabs when importing datasets into a library.
This commit is contained in:
Daniel Blankenberg
2016-03-22 16:44:51 -04:00
@@ -433,8 +433,8 @@ class LibraryDatasetsController( BaseAPIController, UsesVisualizationMixin ):
"""
if payload:
kwd.update(payload)
kwd[ 'space_to_tab' ] = 'False'
kwd[ 'to_posix_lines' ] = 'True'
kwd['space_to_tab'] = False
kwd['to_posix_lines'] = True
kwd[ 'dbkey' ] = kwd.get( 'dbkey', '?' )
kwd[ 'file_type' ] = kwd.get( 'file_type', 'auto' )
kwd['link_data_only'] = 'link_to_files' if util.string_as_bool( kwd.get( 'link_data', False ) ) else 'copy_files'