File tree Expand file tree Collapse file tree
docs/examples/basic_examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change 553553 },
554554 {
555555 "cell_type" : " code" ,
556- "execution_count" : 14 ,
556+ "execution_count" : null ,
557557 "metadata" : {},
558558 "outputs" : [],
559559 "source" : [
560+ " if qc.config.current_config is None:\n " ,
561+ " raise RuntimeError(\" No current QCoDeS configuration is set.\" )\n " ,
560562 " qc.config.current_config.core.loglevel = \" INFO\" "
561563 ]
562564 },
585587 },
586588 {
587589 "cell_type" : " code" ,
588- "execution_count" : 16 ,
590+ "execution_count" : null ,
589591 "metadata" : {},
590592 "outputs" : [
591593 {
603605 }
604606 ],
605607 "source" : [
608+ " if qc.config.current_config is None:\n " ,
609+ " raise RuntimeError(\" No current QCoDeS configuration is set.\" )\n " ,
606610 " qc.config.current_config.core.loglevel = \" YOLO\"\n " ,
607611 " qc.config.validate()\n " ,
608612 " # NOTE that you how have a broken config!"
You can’t perform that action at this time.
0 commit comments