Update sofia_pipeline.py

added subcube switch