dspinellis / alexandria3k

Local relational access to openly-available publication data sets
GNU General Public License v3.0
79 stars 14 forks source link

Add split point of db_spec and fix typo #16

Closed AggelosMargkas closed 1 year ago

AggelosMargkas commented 1 year ago

Add the exact point of splitting of the db_spec string. Over the testing process on Windows machine the string of db_spec contains two colons. That way the path to the temporary attached database is similar to "C://..." and the splitting operation ends up giving three strings[db_name. 'C', and the rest], thus it returns a destroyed path to the attached database. Putting the regulation of spitting on the first colon focuses on taking firstly the db_name and the rest should be the path.

Fix typo of word corresponding.