lukos / simsig_importer

.Net Desktop Application for converting Excel simplified timetables into Simsig timetables
GNU General Public License v3.0
3 stars 1 forks source link

Cannot find rows if first timing point is a terminus station? #66

Open JDeeth opened 1 year ago

JDeeth commented 1 year ago

Thanks very much for this tool - I've just succeeded in making my first WTT with it - phenomenally helpful!

I've started making a .JSON file with lines and timing points for the Wimbledon sim. (Not sure if that's necessary or if I can just give it a spreadsheet with arbitrary locations, but I appreciate the 'Generate' button to create the starting spreadsheet.)

For the Down timetable, the importer showed an error:

Cannot find all of the rows in the Timetable sheet No timetables found in sheet Timetable Down. Possible formatting error. Ignoring

While the Up timetables were loading successfully.

The fix was to add this #EDUMMY false entry point behind the terminus - with this in place, the importer worked fine and generated a loadable WTT:

Type        
Headcode     9O10 5O85
UniqueId        
Power     1 1
In working        
Out working        
Days        
AsRequired        
         
Seeds        
         
#EDUMMY Dummy entry point      
WATRINT Plat   20 20
WATRINT Arr   P:5O10 P:9O85
WATRINT Dep   0823 1118
VAUXHLM Vauxhall      
NINELMJ Nine Elms Jn   0828 1123
LINFST Linford Street Jn   0829  
FACTRYJ Factory Jn      
VOLTRDJ Voltaire Road Jn   0830  
SHPSHLA Shepherds Lane Jn      
BRIXTON Brixton   0831h  
QTRDBAT Queenstown Road Battersea      
WLNDNJW West London Jn      
LTCHMRJ Latchmere Jn     1126
CSEAH Imperial Wharf      
WBRMPTN West Brompton      
KENOLYM Kensington Olympia     1132
lukos commented 1 year ago

This is probably because I designed it thinking about Wolverhampton, a "through" simulation. I'll try and take a look when I get time and see what makes the most logical sense. I also need to get seeding to work.