ladybug-tools / honeybee-core

:honeybee: honeybee core library
https://www.ladybug.tools/honeybee-core/docs/
GNU Affero General Public License v3.0
14 stars 14 forks source link

fix(model): Handle the case of missing file extension #383

Closed chriswmackey closed 3 years ago

chriswmackey commented 3 years ago

It seems that the luigi process under the hood does not use file extensions (or overwrites them to whatever the function template is). So we will need a careful way to sense the file type without loading the whole file into memory. From what I can tell, sensing the { at the start of a JSON should be a safe bet.

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.43.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: